/**
 Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
 Created on 2010-05-27.
 $Id$
 */


/*--------------------------------------------------------------------------------------------------
 * common styles applied to all kinds of forms
 *------------------------------------------------------------------------------------------------*/

.required input, .required textarea, .required select {
  background-color: #FFFFDD;
}

.disabled-value {
  color: #666666;
  background-color: #DDDDDD;
}

.label, .input, .radio, .checkbox, .error-list, .help-text {
  margin: 0;
  padding: 4px 0 4px 0;
}

.error-list {
  color: #FF0000;
  font-size: 90%;
}

.error-list ul {
  margin: 0;
  padding: 0;
}

.error-list li {
  margin: 0;
  padding: 0;
  text-indent: 0;
  list-style: none outside none;
}

.help-text {
  color: #888888;
  font-size: 90%;
}

.input textarea,
.input input,
.input select,
.disabled-value {
  margin: 0;
  padding: 4px;
  font-size: 100%;
  border: 1px solid #BBBBBB;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.input textarea {
  font-family: 'Courier New',courier,arial, sans-serif;
}

.input select option {
  font-size: 100%;
  font-family: Arial,Helvetica,sans-serif;
}

.radio input, .checkbox input {
  padding: 0 0 0 10px;
}

.radio ul {
  margin: 0;
  padding: 0;
}

.radio li {
  margin: 0;
  padding: 0;
  text-indent: 0;
  list-style: none outside none;
}

input.button, a.button {
  padding: 2px 4px 2px 4px;
  font-weight: bold;
  font-size: 100%;
  text-decoration: none;
  background-color: #2090D0;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

input.button:hover, a.button:hover {
  text-decoration: none;
  background-color: #2060B0;
  color: #FFFFFF;
  border: none;
}


/*--------------------------------------------------------------------------------------------------
 * small-sized (S) form
 *------------------------------------------------------------------------------------------------*/

.form {
  margin: 0;
  padding: 4px 0 4px 0;
}

.form .input textarea,
.form .input input,
.form .input select,
.form .disabled-value {
  width: 200px;
}





